﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.Graphics.PackedVector;


namespace ProceduralGolf.generation.tests
{
    class TestGeneration
    {
        public TestGeneration(Game game)
        {
            //HeightmapGenerator hmgen = new HeightmapGenerator(game);
            //Heightmap hm = hmgen.generate(5000, 5000, 1.0f);

            //GolfCourseLayoutGenerator gclayoutgen = new GolfCourseLayoutGenerator(game);
            //GolfCourseLayout layout = gclayoutgen.generateLayout(new Vector2(200, 200), new Vector2(200, 550), new Vector2(400, 800));

            //Texture2D layoutTex = layout.getLayout();
            //Texture2D hmTex = hm.HeightmapTex;

            //TextureDifferencer differ = new TextureDifferencer(game);

            //Texture2D diff = differ.diff(layoutTex, hmTex);
            //diff.Save("diff.png", ImageFileFormat.Png);
            


        }
    }
}
